home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 December
/
CHIP_CD_2003-12.iso
/
macos
/
pack1
/
files
/
LimeWireOSX.dmg
/
Install LimeWire.pkg
/
Contents
/
Resources
/
postflight
< prev
next >
Wrap
Text File
|
2003-10-20
|
990b
|
36 lines
#!/bin/sh
FROM=/Applications/LimeWire/LimeWire.app
TO=~/Desktop
echo "Cleaning up old LimeWire directory from old installer at $2/Applications/LimeWire."
rm -f $2/Applications/LimeWire/*.jar
rm -f $2/Applications/LimeWire/*.jnilib
rm -f $2/Applications/LimeWire/*.log
rm -f $2/Applications/LimeWire/*.txt
rm -f $2/Applications/LimeWire/*.ver
rm -f $2/Applications/LimeWire/*.war
rm -f $2/Applications/LimeWire/*.scpt
rm -f $2/Applications/LimeWire/*.properties
rm -rf $2/Applications/LimeWire/UninstallerData
rm -f $2/Applications/LimeWire/COPYING~
echo "Cleaning up a LimeWire.app if it was there."
rm -rf /Applications/LimeWire.app
echo "Finding and deleting existing LimeWire alias on desktop."
rm -rf ~/Desktop/LimeWire
echo "Linking $FROM to $TO"
osascript << EEE
tell application "Finder"
set p1 to (POSIX file "$TO") as file
set p2 to (POSIX file "$FROM") as file
set aliasFile to make new alias at p1 to p2
set the name of aliasFile to "LimeWire"
end tell
EEE
exit 0